package com.punai.externalccb.mapper;

import com.punai.common.core.mapper.CommonMapper;
import com.punai.externalccb.domain.EcoZbstructitem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * externalccbMapper接口
 *
 * @author zxw
 * @date 2023-04-10
 */
public interface EcoZbstructitemMapper extends CommonMapper<EcoZbstructitem>
{
    /**
     * 查询zbstructitem
     *
     * @param id zbstructitem主键
     * @return zbstructitem
     */
    public EcoZbstructitem selectEcoZbstructitemById(String id);

    /**
     * 查询zbstructitem列表
     *
     * @param ecoZbstructitem zbstructitem
     * @return zbstructitem集合
     */
    public List<EcoZbstructitem> selectEcoZbstructitemList(EcoZbstructitem ecoZbstructitem);


    /**
     * 删除zbstructitem
     *
     * @param id zbstructitem主键
     * @return 结果
     */
    public int deleteEcoZbstructitemById(String id);

    /**
     * 批量删除zbstructitem
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEcoZbstructitemByIds(String[] ids);


    List<String> findAllProId(String stagetype);

    int insertIndexZbStructItem(@Param("proId") String proId, @Param("pubid") String pubid, @Param("stagetype") String stagetype);

}
